SureCart\Rest\RestServiceProvider S

Total Complexity 32
Dependencies 4
Dependents 0
Total lines 286
Lines of code 118
Logical lines of code 38
Comment lines 132
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
registerModelRoutes()
A
44 8 51
callback()
A
52 8 22
hasAnyMethods()
S
68 3 8
requestOnlyHasKeys()
S
64 3 9
register()
S
91 1 2
bootstrap()
S
79 1 3
hasMethod()
S
79 1 3
registerRoutes()
S
91 1 2
get_collection_params()
S
82 1 3
get_item_permissions_check()
S
82 1 3
get_items_permissions_check()
S
82 1 3
create_item_permissions_check()
S
82 1 3
update_item_permissions_check()
S
82 1 3
delete_item_permissions_check()
S
82 1 3